<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>实验01-童佳豪</title>
</head>
<style>
    .img1 {
        border: 6px solid blue;
        padding: 10px;
        background-color: red;
        width: 120px;
        height: 120px;
    }

    #img2 {
        border: 8px solid red;
        padding: 20px;
        background-color: yellow;
        width: 150px;
        height: 150px;
        margin-top: 50px;
        margin-left: 400px;
    }

    #img3 {
        border: 5px solid purple;
        padding: 12px;
        background-color: green;
        width: 130px;
        height: 130px;
        margin-top: 50px;
        margin-left: 900px;
    }
</style>
<body>
<img class="img1" src="1.png">
<img id="img2" src="2.png">
<img id="img3" src="3.png">
</body>
</html>